Skip to main content

TypeFields<T>

Assembly: ServiceStack.Text.dll
View Source
Declaration
public class TypeFields<T> : TypeFields

Inherited Properties

PublicFieldInfos

View Source
Declaration
public FieldInfo[] PublicFieldInfos { get; protected set; }

Type

View Source
Declaration
public Type Type { get; protected set; }

Fields

Instance

View Source
Declaration
public static readonly TypeFields<T> Instance

Methods

GetAccessor(String)

View Source
Declaration
public static FieldAccessor GetAccessor(string propertyName)
Returns

ServiceStack.FieldAccessor

Parameters
TypeName
System.StringpropertyName

Inherited Methods

Get(Type)

View Source
Declaration
public static TypeFields Get(Type type)
Returns

ServiceStack.TypeFields

Parameters
TypeName
System.Typetype

GetAccessor(String)

View Source
Declaration
public FieldAccessor GetAccessor(string propertyName)
Returns

ServiceStack.FieldAccessor

Parameters
TypeName
System.StringpropertyName

GetPublicField(String)

View Source
Declaration
public virtual FieldInfo GetPublicField(string name)
Returns

System.Reflection.FieldInfo

Parameters
TypeName
System.Stringname

GetPublicGetter(FieldInfo)

View Source
Declaration
public virtual GetMemberDelegate GetPublicGetter(FieldInfo fi)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Reflection.FieldInfofi

GetPublicGetter(String)

View Source
Declaration
public virtual GetMemberDelegate GetPublicGetter(string name)
Returns

ServiceStack.GetMemberDelegate

Parameters
TypeName
System.Stringname

GetPublicSetter(FieldInfo)

View Source
Declaration
public virtual SetMemberDelegate GetPublicSetter(FieldInfo fi)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Reflection.FieldInfofi

GetPublicSetter(String)

View Source
Declaration
public virtual SetMemberDelegate GetPublicSetter(string name)
Returns

ServiceStack.SetMemberDelegate

Parameters
TypeName
System.Stringname

GetPublicSetterRef(String)

View Source
Declaration
public virtual SetMemberRefDelegate GetPublicSetterRef(string name)
Returns

ServiceStack.SetMemberRefDelegate

Parameters
TypeName
System.Stringname